package cn.ording.entity;



/**
 * Booking entity. @author MyEclipse Persistence Tools
 */

public class Booking  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private TTable TTable;
     private String name;
     private String phone;


    // Constructors

    /** default constructor */
    public Booking() {
    }

	/** minimal constructor */
    public Booking(TTable TTable, String name) {
        this.TTable = TTable;
        this.name = name;
    }
    
    /** full constructor */
    public Booking(TTable TTable, String name, String phone) {
        this.TTable = TTable;
        this.name = name;
        this.phone = phone;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public TTable getTTable() {
        return this.TTable;
    }
    
    public void setTTable(TTable TTable) {
        this.TTable = TTable;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
   








}